#pragma once

#include "NetTypes.h"

namespace phynet{
namespace net{

enum EMessageTypes
{
	DisconnectionMessageType,


	UserMessageType
};

// the sum MUST not be greater than 32
struct MessageHeader
{
	UInt size : 10;
	UInt sequence : 8;
	UInt channel : 4;
	UInt type : 10;
};

}} //namespaces